package com.ybb.dao;

import com.ybb.pojo.Provider;
import com.ybb.pojo.User;

import java.util.List;

public interface ProviderDao {
    List<Provider> getProviderList(String proCode, String proName); //
    int getProviderCount(String proCode, String proName);
    Provider getProviderByUid(long uid);

    int upDateProvider(Provider provider);

    int deleteProvider(Long proid);

    boolean isExist(Long proid);

    int insertProvider(Provider provider);
}
